<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>登录</title>
     <!-- 引入facicon.ico网页图标 -->
	<link rel="shortcut icon" href="../../favicon.ico"  type="image/x-icon"/>
	<link rel="stylesheet" href="../../layui/css/layui.css">
	<link rel="stylesheet" href="../../layui/css/admin.css">
	<link rel="stylesheet" href="../../layui/css/login.css">
</head>
<body>
    <div class="layadmin-user-login layadmin-user-display-show" id="LAY-user-login" style="display: none;">

        <div class="layadmin-user-login-main">
          <div class="layadmin-user-login-box layadmin-user-login-header">
            <h2>欢迎登录</h2>
            <p> </p>
          </div>
          <div class="layadmin-user-login-box layadmin-user-login-body layui-form">
            <div class="layui-form-item">
              <label class="layadmin-user-login-icon layui-icon layui-icon-username" for="userName"></label>
              <input type="text" name="username" id="userName" lay-verify="required" placeholder="用户名" class="layui-input">
            </div>
            <div class="layui-form-item">
              <label class="layadmin-user-login-icon layui-icon layui-icon-password" for="password"></label>
              <input type="password" name="password" id="password" lay-verify="required" placeholder="密码" class="layui-input">
            </div>
            <div class="layui-form-item">
              <div class="layui-row">
                <div class="layui-col-xs7">
                  <label class="layadmin-user-login-icon layui-icon layui-icon-vercode" for="LAY-user-login-vercode"></label>
                  <input type="text" name="vercode" id="vertify" lay-verify="required" placeholder="图形验证码" class="layui-input">
                </div>
                <div class="layui-col-xs5">
                  <div style="margin-left: 10px;">
                    <!-- https://www.oschina.net/action/user/captcha -->
                    <img id="kaptchaImg" onclick="getKaptchaImage()"  src="http://localhost:8081/image/getKaptchaImage" class="layadmin-user-login-codeimg" >
                  </div>
                </div>
              </div>
            </div>
            <div class="layui-form-item" style="margin-bottom: 20px;">
              <input type="checkbox" name="remember" lay-skin="primary" title="记住密码">
              <a href="forget.html" class="layadmin-user-jump-change layadmin-link" style="margin-top: 7px;">忘记密码？</a>
            </div>
            <div class="layui-form-item">
              <button class="layui-btn layui-btn-fluid" lay-submit lay-filter="LAY-user-login-submit" onclick="login()">登 入</button>
            </div>
            <div class="layui-trans layui-form-item layadmin-user-login-other">
              <label>社交账号登入</label>
              <a href="javascript:;"><i class="layui-icon layui-icon-login-qq"></i></a>
              <a href="javascript:;"><i class="layui-icon layui-icon-login-wechat"></i></a>
              <a href="javascript:;"><i class="layui-icon layui-icon-login-weibo"></i></a>
              
              <a href="../../templates/user/register.html" class="layadmin-user-jump-change layadmin-link">注册帐号</a>
            </div>
          </div>
        </div>
        
        <div class="layui-trans layadmin-user-login-footer">
          
          <p>© llw的梦想之家 <%=basePath%></p>
    
        </div>
        
        
      </div>

  <script src="../../layui/layui.all.js"></script>
  <script src="../../layui/layui.js"></script>
  <script src="../../layui/jquery-1.8.3.min.js"></script>
  <script src="../../js/core.util.js"></script>
  <script src="../../js/user/login.js"></script>



</body>
</html>